﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ScanReceiving.aspx.cs"
    Inherits="WMS6.Web.Inbound.ScanReceiving" meta:resourcekey="Page" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>ScanReceiving</title>
    <link href="../style/zh/1/css.css" type="text/css" rel="Stylesheet" id="mycss" />
    <link href="../Css/style.css" type="text/css" rel="stylesheet" />

    <script src="../Js/jquery.js" type="text/javascript"></script>

    <script src="../Js/jquery.simplemodal.js" type="text/javascript"></script>

    <script src="../Js/util.js" type="text/javascript"></script>

    <script src="../Js/jquery.blockUI.js" type="text/javascript"></script>

    <script src="../Js/InitPage.js" type="text/javascript"></script>

    <script src="../Js/calendar.js" type="text/javascript" charset="gb2312"></script>

    <script src="../Js/checkbox.js" type="text/javascript"></script>

    <script type="text/javascript">
       
        //初始化页面
        window.onload = function(){
            initDetailPage();          
        }
        
        //锁屏
		function blockScreen()
		{
		    //锁屏
		    $.blockUI.defaults.message = GetBlockUIMsg();
            $.blockUI.defaults.overlayCSS.backgroundColor = GetBlockUIBgColor();
            $.blockUI();
		    
		    //document.getElementById("hdnAction").value = condition;
		    //document.getElementById("btnAction").click();
        }
        
           //显示 操作 DIV
        function showAction()
		{	
			var pos = getElementPos("htmlbtnAction");	
			document.getElementById("actionDiv").style.top = pos.y+17;
			document.getElementById("actionDiv").style.left = pos.x;  			
			document.getElementById("hiddenFlag").value = '1';
		}
		
		
		    //弹出 打印 上架工作单 的窗口
        function popPrintPutAway()
        {
            var receiptID = document.getElementById("txtReceiptID").value;
            var OwnerID= document.getElementById("hndOwnerID").value;
            var rtnValue = window.open('../Common/PrintReport.aspx?rtype=printputawayreport&receiptID=' + escape(receiptID) + '&OwnerID=' + escape(OwnerID), 'PrintWindow', 'width=860,height=610,top=50,left=50,toolbar=no,menubar=no,scrollbars=yes, resizable=yes,location=no,status=no');        
            
        }
        
		//显示 报表 DIV
		function showReport()
		{	
			var pos = getElementPos("htmlbtnReport");	
			document.getElementById("reportDiv").style.top = pos.y+17;
			document.getElementById("reportDiv").style.left = pos.x;  			
			document.getElementById("hiddenReportFlag").value = '1';
		}
		
		 function hiddenDiv()
		{
			var flag = document.getElementById("hiddenFlag").value
			if(flag == "1")
			{
				document.getElementById("actionDiv").style.display = "block";
				document.getElementById("hiddenFlag").value = '0';
			}
			else 
			{
				document.getElementById("actionDiv").style.display = "none";
			}
		}
		
		//隐藏 报表 DIV
		function hiddenReportDiv()
		{
			var flag = document.getElementById("hiddenReportFlag").value
			if(flag == "1")
			{
				document.getElementById("reportDiv").style.display = "block";
				document.getElementById("hiddenReportFlag").value = '0';
			}
			else 
			{
				document.getElementById("reportDiv").style.display = "none";
			}
		}
        
    </script>

</head>
<body>
    <form id="F4250" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
        <div id="div_top">
            <table>
                <tr>
                    <td valign="bottom">
                        <asp:Label ID="lblASN" runat="server" CssClass="label_header" Text="扫描收货" meta:resourcekey="lblASN"></asp:Label>
                    </td>
                    <td>
                        <asp:Button ID="btnUpdateScanQty" runat="server" CssClass="button" Enabled="false"
                            Text="修改扫描数量" OnClick="btnUpdateScanQty_Click" OnClientClick="blockScreen();"
                            AccessKey="b" meta:resourcekey="btnUpdateScanQty" />
                    </td>
                    <td>
                        <asp:Button ID="btnConfirm" runat="server" CssClass="button" Enabled="false" Text="确认"
                            OnClick="btnConfirm_Click" OnClientClick="blockScreen();" AccessKey="b" meta:resourcekey="btnConfirm" />
                    </td>
                    <td>
                        <input id="htmlbtnAction" type="button" runat="server" value="<%$Resources:ButtonResource,btnAction%>"
                            class="button" onclick="showAction();" />
                    </td>
                    <td>
                        <input id="htmlbtnReport" type="button" runat="server" value="<%$Resources:ButtonResource,btnReport%>"
                            class="button" onclick="showReport();" />
                    </td>
                </tr>
            </table>
        </div>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div>
                    <asp:Label ID="lblMsg" runat="server" CssClass="label_message" meta:resourcekey="lblMsg"></asp:Label>
                </div>
                <div id="div_content" style="height: 750px;">
                    <div id="con_one_1" style="display: block;">
                        <table width="900px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblReceiptID" runat="server" Text="入库通知单号" meta:resourcekey="lblReceiptID"></asp:Label>
                                </td>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblPoID" runat="server" Text="采购订单号" meta:resourcekey="lblPoID"></asp:Label>
                                </td>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblExternalID" runat="server" Text="外部订单号" meta:resourcekey="lblExternalID"></asp:Label>
                                </td>
                                <td style="width: 100px">
                                    <asp:Label CssClass="label" ID="lblExpectedSkuGroup" runat="server" Text="预期品种数" meta:resourcekey="lblExpectedSkuGroup"></asp:Label>
                                </td>
                                <td style="width: 100px">
                                    <asp:Label CssClass="label" ID="lblReceivingSkuGroup" runat="server" Text="实收品种数" meta:resourcekey="lblReceivingSkuGroup"></asp:Label>
                                </td>
                                <td style="width: 100px">
                                    <asp:Label CssClass="label" ID="lblBadSkuGroup" runat="server" Text="坏货品种数" meta:resourcekey="lblBadSkuGroup"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtReceiptID" runat="server" CssClass="textbox" OnTextChanged="txtReceiptID_OnTextChanged"
                                        AutoPostBack="true"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtPoID" runat="server" CssClass="textbox" Enabled="false" meta:resourcekey="txtPoID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtExternalID" runat="server" CssClass="textbox" Enabled="false"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtExpectedSkuGroup" runat="server" CssClass="textbox" Enabled="false"
                                        Width="80px" Text="0"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtReceivingSkuGroup" runat="server" CssClass="textbox" Enabled="false"
                                        Width="80px" Text="0"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtBadSkuGroup" runat="server" CssClass="textbox" Enabled="false"
                                        Width="80px" Text="0"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblReceinvingDate" runat="server" Text="收货日期" meta:resourcekey="lblReceinvingDate"></asp:Label>
                                </td>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblOwnerID" runat="server" Text="货主" meta:resourcekey="lblOwnerID"></asp:Label>
                                </td>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblVendorID" runat="server" Text="供应商" meta:resourcekey="lblVendorID"></asp:Label>
                                </td>
                                <td style="width: 100px">
                                    <asp:Label CssClass="label" ID="TotaleExpectedQty" runat="server" Text="预期量数" meta:resourcekey="TotaleExpectedQty"></asp:Label>
                                </td>
                                <td style="width: 100px">
                                    <asp:Label CssClass="label" ID="TotalReceivingQty" runat="server" Text="实收数量" meta:resourcekey="lblVendorID"></asp:Label>
                                </td>
                                <td style="width: 100px">
                                    <asp:Label CssClass="label" ID="TotalBadQty" runat="server" Text="坏货数量" meta:resourcekey="lblVendorID"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:TextBox ID="txtReceinvingDate" runat="server" CssClass="textbox" Enabled="false"
                                        meta:resourcekey="txtReceinvingDate"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtOwnerID" runat="server" CssClass="textbox" Enabled="false" meta:resourcekey="txtReceivingDoor"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtVendorID" runat="server" CssClass="textbox" Enabled="false" meta:resourcekey="txtVendorID"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtTotalExpectedQty" runat="server" CssClass="textbox" Enabled="false"
                                        Width="80px" Text="0" meta:resourcekey="txtReceivingDoor"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtTotalReceivingQty" runat="server" CssClass="textbox" Enabled="false"
                                        Width="80px" Text="0" meta:resourcekey="txtReceivingDoor"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtTotalBadQty" runat="server" CssClass="textbox" Enabled="false"
                                        Width="80px" Text="0" meta:resourcekey="txtReceivingDoor"></asp:TextBox>
                                </td>
                                <td style="width: 100px">
                                </td>
                                <td style="width: 100px">
                                </td>
                                <td style="width: 100px">
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div style="height: 10px;">
                    </div>
                    <div style="overflow-y: auto; height: 150px">
                        <asp:GridView ID="gvScanReceiving" runat="server" AllowSorting="False" AutoGenerateColumns="False"
                            PageSize="10" CssClass="gridview" OnRowDataBound="gvScanReceiving_RowDataBound"
                            DataKeyNames="ReceiptID,ReceiptLineID,SkuID,OwnerID" Width="1000px" meta:resourcekey="gvOutboundReview">
                            <FooterStyle CssClass="GridViewFooterStyle" />
                            <RowStyle CssClass="GridViewRowStyle" />
                            <HeaderStyle CssClass="FixedHeader" />
                            <PagerStyle CssClass="GridViewPageStyle" />
                            <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                            <Columns>
                                <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                    <ItemStyle CssClass="GridViewRowWidth_40" />
                                </asp:BoundField>
                                <asp:TemplateField FooterText="状态" HeaderText="状态" meta:resourcekey="ReceiveStatus">
                                    <ItemTemplate>
                                        <asp:Image ID="StatusImg" runat="server"  />
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" HorizontalAlign="Center" />
                                </asp:TemplateField>
                                <asp:TemplateField FooterText="货品代码" HeaderText="货品代码" SortExpression="SkuID" meta:resourcekey="SkuID">
                                    <ItemTemplate>
                                        <asp:Label ID="lblSkuID" runat="server" Text='<%# Eval("SkuID") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:TemplateField>
                                <asp:TemplateField FooterText="货品描述" HeaderText="货品描述" SortExpression="SkuDescr"
                                    meta:resourcekey="SkuDescr">
                                    <ItemTemplate>
                                        <asp:Label ID="lblSkuDescr" runat="server" Text='<%# Eval("SkuDescr") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_200" />
                                </asp:TemplateField>
                                <asp:TemplateField FooterText="预期量" HeaderText="预期量" meta:resourcekey="ExpectedQty">
                                    <ItemTemplate>
                                        <asp:Label ID="lblExpectedQty" runat="server" Text='<%# GetPreferenceDigit(Eval("ExpectedQty").ToString()) %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:TemplateField>
                                <asp:TemplateField FooterText="已收数量" HeaderText="已收数量" meta:resourcekey="ReceivedQty">
                                    <ItemTemplate>
                                        <asp:Label ID="lblReceivedQty" runat="server" Text='<%# GetPreferenceDigit(Eval("ReceivedQty").ToString()) %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="UomID" HeaderText="单位" FooterText="单位" meta:resourcekey="UomID">
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:BoundField>
                                <asp:TemplateField FooterText="坏货数量" HeaderText="坏货数量" meta:resourcekey="BadQty">
                                    <ItemTemplate>
                                        <asp:Label ID="lblBadQty" runat="server" Text='<%# GetPreferenceDigit(Eval("BadQty").ToString()) %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:TemplateField>
                                <asp:TemplateField FooterText="搁置数量" HeaderText="搁置数量" meta:resourcekey="HoldQty">
                                    <ItemTemplate>
                                        <asp:Label ID="lblHoldQty" runat="server" Text='<%# GetPreferenceDigit(Eval("HoldQty").ToString()) %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:TemplateField>
                            </Columns>
                        </asp:GridView>
                    </div>
                    <div style="height: 10px;">
                    </div>
                    <div style="overflow-y: auto; overflow-x: auto; height: 275px; width: 1000px">
                        <asp:GridView ID="gvScanReceivingLpn" runat="server" AllowSorting="false" AutoGenerateColumns="False"
                            CssClass="gridview" OnRowDataBound="gvScanReceivingLpn_RowDataBound" Width="1550px">
                            <FooterStyle CssClass="GridViewFooterStyle" />
                            <RowStyle CssClass="GridViewRowStyle" />
                            <HeaderStyle CssClass="FixedHeader" />
                            <PagerStyle CssClass="GridViewPageStyle" />
                            <AlternatingRowStyle CssClass="GridViewAlternatingRowStyle" />
                            <Columns>
                                <asp:BoundField HeaderText="序号" FooterText="序号" meta:resourcekey="No">
                                    <ItemStyle CssClass="GridViewRowWidth_40" />
                                </asp:BoundField>
                                <asp:TemplateField FooterText="货品代码" HeaderText="货品代码" SortExpression="SkuID" meta:resourcekey="SkuID">
                                    <ItemTemplate>
                                        <asp:Label ID="lblSkuID" runat="server" Text='<%# Eval("SkuID") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:TemplateField>
                                <asp:TemplateField FooterText="货品描述" HeaderText="货品描述" SortExpression="SkuDescr"
                                    meta:resourcekey="SkuDescr">
                                    <ItemTemplate>
                                        <asp:Label ID="lblSkuDescr" runat="server" Text='<%# Eval("SkuDescr") %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_200" />
                                </asp:TemplateField>
                                <asp:TemplateField FooterText="已收数量" HeaderText="已收数量" meta:resourcekey="ReceivedQty">
                                    <ItemTemplate>
                                        <asp:Label ID="lblReceivedQty" runat="server" Text='<%# GetPreferenceDigit(Eval("ReceivedQty").ToString()) %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="LotAttr09" HeaderText="货品属性" FooterText="货品属性" SortExpression="LotAttr01"
                                    meta:resourcekey="SkuProperty">
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:BoundField>
                                <asp:BoundField DataField="LpnID" HeaderText="箱号" FooterText="箱号" meta:resourcekey="LpnID">
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:BoundField>
                                <asp:BoundField DataField="ExternalLot" HeaderText="外部批号" FooterText="外部批号" SortExpression="ExternalLot"
                                    meta:resourcekey="ExternalLot">
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:BoundField>
                                <asp:TemplateField FooterText="入库日期" HeaderText="入库日期" SortExpression="ReceiveDate"
                                    meta:resourcekey="ReceiveDate">
                                    <ItemTemplate>
                                        <asp:Label ID="lblReceiveDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("ReceiptDate").ToString()) %>'
                                            meta:resourcekey="lblReceiveDate"></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:TemplateField>
                                <asp:TemplateField FooterText="生产日期" HeaderText="生产日期" SortExpression="PRODUCE_DATE"
                                    meta:resourcekey="PRODUCEDATE">
                                    <ItemTemplate>
                                        <asp:Label ID="lblProduceDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("ProduceDate").ToString()) %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:TemplateField>
                                <asp:TemplateField FooterText="失效日期" HeaderText="失效日期" SortExpression="" meta:resourcekey="ExpireDate">
                                    <ItemTemplate>
                                        <asp:Label ID="lblExpiryDate" runat="server" Text='<%# GetPreferenceShortDate(Eval("ExpiryDate").ToString()) %>'></asp:Label>
                                    </ItemTemplate>
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:TemplateField>
                                <asp:BoundField DataField="LotAttr01" HeaderText="批次属性01" FooterText="批次属性01" SortExpression="LotAttr01"
                                    meta:resourcekey="LotAttr01">
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:BoundField>
                                <asp:BoundField DataField="LotAttr02" HeaderText="批次属性02" FooterText="批次属性02" SortExpression="LotAttr02"
                                    meta:resourcekey="LotAttr02">
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:BoundField>
                                <asp:BoundField DataField="LotAttr03" HeaderText="批次属性03" FooterText="批次属性03" SortExpression="LotAttr03"
                                    meta:resourcekey="LotAttr03">
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:BoundField>
                                <asp:BoundField DataField="LotAttr04" HeaderText="批次属性04" FooterText="批次属性04" SortExpression="LotAttr04"
                                    meta:resourcekey="LotAttr04">
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:BoundField>
                                <asp:BoundField DataField="LotAttr05" HeaderText="批次属性05" FooterText="批次属性05" SortExpression="LotAttr05"
                                    meta:resourcekey="LotAttr05">
                                    <ItemStyle CssClass="GridViewRowWidth_100" />
                                </asp:BoundField>
                            </Columns>
                        </asp:GridView>
                    </div>
                    <div>
                    </div>
                    <div>
                        <table width="800px" style="display: block; margin-left: 10px; margin-top: 10px;">
                            <tr>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblSkuDesc" runat="server" Text="货品描述" meta:resourcekey="lblSkuDescr"></asp:Label>
                                </td>
                                <td style="width: 180px">
                                </td>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblCaseID" runat="server" Text="箱号" meta:resourcekey="lblCaseID"></asp:Label>
                                </td>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblLot" runat="server" Text="外部批号" meta:resourcekey="lblExternalLot"></asp:Label>
                                </td>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblExpectedQty" runat="server" Text="预期数量" meta:resourcekey="lblExpectedQty"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:TextBox ID="txtSkuDesc" runat="server" CssClass="textbox" Enabled="false" Width="320px"></asp:TextBox>
                                </td>
                                <td rowspan="6">
                                    <asp:TextBox ID="txtCaseID" runat="server" CssClass="textbox" Font-Size="85px" ForeColor="Blue"
                                        Height="100px" MaxLength="2" Width="110px" Font-Bold="True" Font-Italic="False"
                                        Font-Strikeout="False"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtLot" runat="server" CssClass="textbox" meta:resourcekey="txtBarcode"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtExpectedQty" runat="server" CssClass="textbox" Width="80px" meta:resourcekey="txtBarcode"
                                        Enabled="false"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblLot09" runat="server" Text="货品属性" meta:resourcekey="lblSkuProperty"></asp:Label>
                                </td>
                                <td>
                                    <asp:Label CssClass="label" ID="lblSMQty" runat="server" Text="数量" meta:resourcekey="lblSMQty"></asp:Label>
                                </td>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblProduceDate" runat="server" Text="生产日期" meta:resourcekey="lblProduceDate"></asp:Label>
                                </td>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblReceivingQty" runat="server" Text="已接收数量" meta:resourcekey="lblReceivedQty"></asp:Label>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    <asp:DropDownList ID="ddlLot09" runat="server" CssClass="mediumselectbox">
                                    </asp:DropDownList>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtSMQty" runat="server" CssClass="textbox" Text="1" Enabled="false"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtProduceDate" runat="server" CssClass="textbox"></asp:TextBox><img
                                        src="../Images/calendar.gif" class="img" alt="请选择日期" onclick="setday(this,txtProduceDate)" />
                                </td>
                                <td>
                                    <asp:TextBox ID="txtRecedQty" runat="server" CssClass="textbox" Width="80px" Enabled="false"></asp:TextBox>
                                </td>
                            </tr>
                            <tr>
                                <td style="width: 180px">
                                    <asp:Label CssClass="label" ID="lblBarcode" runat="server" Text="条码" meta:resourcekey="lblBarcode"></asp:Label>
                                </td>
                                <td>
                                </td>
                                <td>
                                    <asp:Label CssClass="label" ID="lblLot01" runat="server" Text="批次属性01" meta:resourcekey="lblLot01"></asp:Label>
                                </td>
                                <td style="width: 180px">
                                </td>
                            </tr>
                            <tr>
                                <td colspan="2">
                                    <asp:TextBox ID="txtBarcode" runat="server" CssClass="textbox" Width="320px" OnTextChanged="txtBarcode_OnTextChanged"
                                        AutoPostBack="true"></asp:TextBox>
                                </td>
                                </td>
                                <td>
                                    <asp:TextBox ID="txtLot01" runat="server" CssClass="textbox" meta:resourcekey="txtSkuDescr"> </asp:TextBox>
                                </td>
                                <td>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="actionDiv" style="background-color: #FFFFFF; position: absolute; display: none;">
                        <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu">
                            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                                <td class="line" id="tdlnkbtnAutoputaway" runat="server" visible="false">
                                    <asp:LinkButton ID="lnkbtnAutoputaway" runat="server" Text="<%$Resources:ButtonResource,lnkbtnAutoputaway%>"
                                        OnClientClick="blockScreen();" OnClick="lnkbtnAutoputaway_Click"></asp:LinkButton>
                                </td>
                            </tr>
                        </table>
                    </div>
                    <div id="reportDiv" style="background-color: #FFFFFF; position: absolute; display: none;">
                        <table width="105" border="0" cellspacing="0" cellpadding="0" id="divcontent_menu2">
                            <tr class="bg2" onmouseover="this.className='bg1'" onmouseout="this.className='bg2'">
                                <td class="line" id="tdlnkbtnPrintPutAway" runat="server" visible="false">
                                    <asp:LinkButton ID="lnkbtnPrintPutAway" runat="server" Text="<%$Resources:ButtonResource,lnkbtnPrintPutAway%>"
                                        OnClick="lnkbtnPrintPutAway_Click"></asp:LinkButton>
                                </td>
                            </tr>
                        </table>
                    </div>
                </div>
                <input id="hdnActionID" type="hidden" runat="server" />
                <input type="hidden" id="hdnDataFormat" runat="server" />
                <input type="hidden" id="hdnIndex" runat="server" />
                <input type="hidden" id="hdnGvCss" runat="server" />
                <input type="hidden" id="hiddenFlag" />
                 <input type="hidden" id="hdnOwnerID" runat="server" />
                <input id="hdncalendarFlag" runat="server" type="hidden" />
            </ContentTemplate>
        </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>

<script language="javascript" type="text/javascript" event="onclick" for="document">
		<!--
			hiddenDiv();
			hiddenReportDiv();
			hiddenCalendarDiv();
		//-->
</script>

